<template>
   <div class="con">
         <div class="header">
            <van-nav-bar title="松下品牌馆" left-text="返回"  right-text="分享" left-arrow class="spec" @click-right='share()' @click-left='tab1()'>
            <van-icon name="cluster-o" slot="right"  />
            
                </van-nav-bar>
                <van-action-sheet v-model="show" title="分享到" height:30>
                    <div class="share">
                        <share :config='config'></share>
                    </div>
                </van-action-sheet>
         </div>
         <div class="main">
             <div class="banner">
                 <img src="../assets/v7.gif" alt="">
                 <img src="../assets/v8.gif" alt="">
             </div>
             <div class="goods">
                 <router-link to='' tag='div'><img src="../assets/v9.gif" alt=""></router-link>
                 <router-link to='' tag='div'><img src="../assets/v10.gif" alt=""></router-link>
                 <router-link to='' tag='div'><img src="../assets/v9.gif" alt=""></router-link>
                 <router-link to='' tag='div'><img src="../assets/v10.gif" alt=""></router-link>
             </div>
             <div class="tit">
                 精选好货
             </div>
             <div class="more-goods">
                 <img src="../assets/v12.gif" alt="" style="width:100%">
                 <ul>
                     <li>
                         <router-link to=''><img src="../assets/v11.gif" alt=""></router-link>
                     </li>
                     <li>
                         <router-link to=''><img src="../assets/v11.gif" alt=""></router-link>
                     </li>
                     <li>
                         <router-link to=''><img src="../assets/v11.gif" alt=""></router-link>
                     </li>
                     <li>
                         <router-link to=''><img src="../assets/v11.gif" alt=""></router-link>
                     </li>
                 </ul>
             </div>
         </div>
    </div>  
</template>

<script>
export default {
    name:'Panasonic',
      data(){
        return{
            show:false,
            list:[],
            config:{
                url: 'http://www.baidu.com', // 网址，默认使用 window.location.href
		source:'', // 来源（QQ空间会用到）, 默认读取head标签：<meta name="site" content="http://overtrue" />
		title: 'hello', // 标题，默认读取 document.title 或者 <meta name="title" content="share.js" />
		description: 'hi', // 描述, 默认读取head标签<meta name="description" content="PHP弱类型的实现原理分析" />
		image : '', // 图片, 默认取网页中第一个img标签
		sites: ['qq', 'weibo','qzone' ,], // 启用的站点
		wechatQrcodeTitle: '微信扫一扫：分享', // 微信二维码提示文字
		wechatQrcodeHelper  : '<p>微信里点“发现”，扫一下</p><p>二维码便可将本文分享至朋友圈。</p>'

            }
        }
    },
     methods:{
        tab1(){
            this.$router.go(-1)
        },
        share(){
            this.show=true
        }
    },
}
</script>

<style scoped>
.more-goods ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 6px
}
.more-goods ul li{
    width: 48%
}
.more-goods ul li img{
    width: 100%
}
.tit{
    height: 100px;
    line-height: 100px;
    background:#150c21;
    color: #fff;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 5px 
}
.router-link-active{
    margin-bottom: 10px
}
.goods{
    width: 100%;
    background:#c71d1f;
    margin-top: -1px ;
    padding: 10px;
    box-sizing: border-box
}
.goods img{
    width: 100%
}
.banner img{
    width: 100%
}
.banner img:last-child{
    margin-top: -3px
}
.social-share{
    display: flex;
    justify-content: space-between;
    padding: 0 38px
}
.share{
    height: 100px;
}
.van-nav-bar__text{
    color: #000
}
.van-nav-bar .van-icon{
    color: #333;
    margin-top: 3px
}
.van-nav-bar__title{
    font-size: 15px
}
.con{
    display: flex;
    flex-direction: column;
    background:#f3f3f3;
    height: 100vh;
}
.main{
    flex: 1;
    overflow: auto;
    background:#c71d1f 
}
</style>